home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK1.toast / Development Kits (Disc 1) / AIAT 1.0.1 / Headers / Index / InVecIndex.h < prev    next >
Encoding:
Text File  |  1997-09-11  |  714 b   |  34 lines  |  [TEXT/CWIE]

  1. // InVecIndex.h
  2. //    Copyright:    © 1994 - 1996 by Apple Computer, Inc., all rights reserved.
  3.  
  4. // combines vector and inverted indices
  5.  
  6. #pragma once
  7. #ifndef InVecIndex_h
  8. #define InVecIndex_h
  9.  
  10. #pragma import on
  11.  
  12. #include "VectorIndex.h"
  13. #include "InvertedIndex.h"
  14.  
  15. #pragma IA_BEGIN_EXPORTS
  16.  
  17. const uint32        InVecIndexType = 'I&V2';
  18.  
  19. class InVecIndex : public InvertedIndex,  public VectorIndex {
  20. public:
  21.                 InVecIndex(IAStorage* s, IACorpus* c, IAAnalysis* a, uint32 t = InVecIndexType, IABlockID r = NULL);
  22.     IA_INLINE    ~InVecIndex() IA_INLINE_DEF()    // no-op dtor def
  23.                     
  24.     IADefineNarrowMethods(InVecIndex, IAIndex);
  25. protected:
  26.     void                DeletingDoc(DocInfo* i);
  27. };
  28.  
  29. #pragma IA_END_EXPORTS
  30.  
  31. #pragma import reset
  32.  
  33. #endif
  34.